<?php
namespace voxfa\net\store;

use voxfa\net\InetAddress;

interface InetAddressProvider {
	
	public function selectByName($name);
	/**
	 * @return net\InetAddress
	 * @param string $address
	 */
	public function selectByAddress($address);
	
	public function deleteByName($interfaceName);
	
	public function deleteByAddress($address);
	
	public function existAddress($address);
	
	public function insertAddress(InetAddress $address);
	
	public function updateAddress(InetAddress $address);
}